from framework.base_page import BasePage
class GalaPage(BasePage):
    def login(self,username,password):
        self.type("id=>username",username)
        self.type("id=>password",password)
        self.click("c=>login-btn")
        self.esleep(3)

    def getDataList(self):
        kt=self.find_element("l=>课堂管理")
        self.moveToElement(kt)
        self.esleep(2)
        zl=self.find_element("l=>个人资料管理")
        self.moveToElement(zl)
        zl.click()
        self.get_windows_img()
        self.quit_browser()